#!/usr/bin/python2.4
# vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab
# 
# $Id$
#
#    Copyright (C) 1999-2006  Keith Dart <keith@kdart.com>
#
#    This library is free software; you can redistribute it and/or
#    modify it under the terms of the GNU Lesser General Public
#    License as published by the Free Software Foundation; either
#    version 2.1 of the License, or (at your option) any later version.
#
#    This library is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#    Lesser General Public License for more details.

"""
Node types.

"""

### nodes. Could be host or router, and the stuff inside
class Node(object):
    def __init__(self, interfaces=None):
        if interfaces is None:
            self.interfaces = {}
        else:
            self.interfaces = interfaces


class Device(Node):
    pass

class Router(Device):
    pass

class Host(Node):
    pass


